package com.ptu.spzx.manager.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.ptu.spzx.model.entity.system.SysDept;
import com.ptu.spzx.model.entity.system.SysMenu;
import com.ptu.spzx.model.entity.system.SysUser;
import com.ptu.spzx.model.vo.common.Result;
import com.ptu.spzx.model.vo.system.SysDeptVo;

import java.util.List;

public interface DeptService extends IService<SysDept> {
    void removeById(Long id);

    void updateDept(SysDept sysDept);


    void saveDept(SysDept sysDept);

    List<SysDeptVo> findNodes();

    List<SysDept> findDeptAll();

    List<SysDeptVo> findDept(String keyWord);

    Result findDeptId(Long id);

    SysDept findDeptFeign(Long id);

    PageInfo<SysDept> findByPage(Integer pageNum, Integer pageSize, String keyWord, List<Long> classIds);

    List<String> GetKeyWord(String keyWord);
}
